package cn.lan.code.utils;

/**
 * 校验异常类
 * @author lanping
 * @version 1.0
 * @date 2021-04-23
 */
public class ValidateException extends Exception {

	private String code;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public ValidateException() {
		super();
	}

	public ValidateException(Exception exception, String message) {
		super(message,exception);
	}

	public ValidateException(String message) {
		super(message);
	}

	public ValidateException(String code, String message) {
		super(message);
		this.code = code;
	}

}
